package com.sise.bl.service;


import com.sise.bl.entity.Orders;

import java.util.List;

public interface OrdersService {
    /**
     *
     * @param aid
     * @param uid
     * @param sum
     */
    void createOrder(String aid, String uid, String sum);

    /**
     *
     * @param uid
     * @return
     */
    List<Orders> findOrdersByUid(int uid);

    Orders findOrderByOid(String oid);

    void updateStateByOid(String oid);
    /**
     * 查询所有订单
     * @return
     */
    List<Orders> queryAll();
}
